Skip to main content

All Questions

2votes
0answers
1kviews

Repository + Unit Of Work Pattern in WebAPI

I am refactoring my existing product's webapi part of the solution. Current Repo pattern does not allow me to add custom functions to a specific repository. In result, most of the functions directly ...
Akhil's user avatar
8votes
2answers
22kviews

C# - Entity Framework + Repository pattern + Unit of work pattern

After hours spent on reading various articles about correct way to implement Repository patter & UoW patters I finally think that I have managed to create (hopefully good) implementation. The ...
hyperN's user avatar
2votes
0answers
1kviews

Identity repository pattern with UnitOfWork, GenericRepository and Unity

I created an application from 3 layers, DAL, BLL, and Representation layer in ASP.NET Web API. In DAL i have 4 Classes: - DatabaseContext.cs, UnitOfWork.cs, GenericRepository and UserInfo. In BLL i ...
Kob_24's user avatar
2votes
0answers
2kviews

Web Api Odata Batch processing using UnitOfWork pattern

Unity Configuration ...
Mukesh's user avatar
4votes
1answer
2kviews

Choose the right type for method GetById

I designed my repository class and I need some advice from you. Now I have a method GetByID that returns a generic type: ...
Roman Marusyk's user avatar
6votes
2answers
2kviews

Web API using Repository / UnitOfWork

I'm looking for feedback on a repository I set up based on a blog post I read here. I have just recently got more into .NET within the past year, so any feedback and/or best practices that can be ...
Scott Smith's user avatar
6votes
1answer
8kviews

Identity repository pattern with unit of work

I am creating simple web api/ SPA application using EntityFramework, IUnitOfWork, Repository pattern, Unity DI along with Asp.net Identity. Unity configuration ...
Accountant's user avatar
4votes
1answer
2kviews

Make a testable DAL using service and repository pattern

I'm implementing a Web API that communicates with old WCF services and want to make it future proof. The Web API consists of: API controllers Service Providers Repositories I've implemented a service ...
Gaui's user avatar
  • 631

close